package com.ls.lserp.dbaccess.Dao;

import java.util.List;

import com.ls.lserp.common.persistence.CrudDao;
import com.ls.lserp.common.persistence.annotation.MyBatisDao;
import com.ls.lserp.modules.order.entity.AuditInfo;
import com.ls.lserp.modules.trade.entity.ConsignmentNote;
@MyBatisDao
public interface ShippingFormEntityMapper extends CrudDao<ConsignmentNote> {
	
		//取得新建发货通知单
		public List<ConsignmentNote> getBookingOrderByIndentId(ConsignmentNote consignmentNote);
		//添加发货通知单
		public int insertConsignmentNote(ConsignmentNote consignmentNote);
		//更新状态
		public void updateConsignmentNoteStatus(AuditInfo auditInfo);
		//ID查找
		public List<ConsignmentNote> findBookingByID(ConsignmentNote consignmentNote);
		//删除发货通知单
		public int deleteConsignmentNote(ConsignmentNote consignmentNote);
		//添加发货通知单明细
		public int insertShippingDetails(ConsignmentNote consignmentNote);
		//
		public int deleteShippingDetails(ConsignmentNote consignmentNote);
		//逻辑删除结汇交汇单
		public int deleteExchange(ConsignmentNote consignmentNote);
		//提交发货通知单
		public int commit(ConsignmentNote consignmentNote);
		
		
}